//
//  UIImageView+Extension.swift
//  sinaWeiBo
//
//  Created by smartlei on 15/10/15.
//  Copyright © 2015年 smartlei. All rights reserved.
//

import UIKit

extension UIImageView {
    
    //创建“便利”构造函数
    convenience init(name: String) {
        
        self.init()
        
        image = UIImage(named: name)
        
        
    }
    
}